Priority Queue

Priorty Queue

대기열의 데이터들을 우선순위대로 계속 정렬한다.
이는 Heap을 통해 효과적으로 구현 가능하다.

Heap
Queue